
        <legend><span style="color:#CC4444">读书节音乐上传</span></legend>
       <!-- 表单start -->
         <!-- 标题栏 -->
       <form method='post' enctype="multipart/form-data" id="upload" name="upload" action="{:U('doUploadFile')}" role="form" class="form-horizontal form-condensed">
        <div class="form-group">
          <label class="col-md-2 control-label">班  级 </label>
          <div class="col-md-6">
             <input name="class" id="class" value="{$my.class}" class="form-control" type="text" readOnly="true">
          </div>
          <div class="col-md-4"></div>
        </div>
        
         <div class="form-group">
          <label class="col-md-2 control-label">班主任 </label>
          <div class="col-md-6">
             <input class="form-control" type="text"  name="headteacher" value="{$my.headteacher}" placeholder="请输入姓名" disabled> 
          </div>
          <div class="col-md-4"></div>
        </div>

         <div class="form-group">
          <label class="col-md-2 control-label">节目名称 </label>
          <div class="col-md-6">
            <input class="form-control" type="text"  name="title" value="{$my.title}" >             
          </div>
          <div class="col-md-4"></div>
        </div>
       <div class="form-group">
          <label class="col-md-2 control-label">节目时长 </label>
          <div class="col-md-6">
             <input class="form-control" type="text"  name="show_time" value="{$my.show_time}"placeholder="请输入（估计大致时间）" >             
          </div>
          <div class="col-md-4"></div>
        </div>

        <div class="form-group">
          <label class="col-md-2 control-label">上传文件</label>
          <div class="col-md-8">

            <div class="input-group">
            <input id="lefile" class="form-control" type="file" name="upfile" style="display:none">               
            <input id="files-text" class="form-control" type="text"  onclick="$('input[id=lefile]').click();">
            <span class="input-group-btn">
              <button class="btn btn-primary" type="button" onclick="$('input[id=lefile]').click();"><i class="icon icon-folder-open"> </i> 浏览文件</button>
            </span>
            </div>
          
          </div>         
        </div>
            <script type="text/javascript">
            $('input[id=lefile]').change(function() {
            $('#files-text').val($(this).val());
            });
            </script>

        <div class="form-group">
         <div class="col-md-offset-2 col-md-2">
         <input type="hidden" name="id" value="{$my.id}">
         <button type="submit" class="btn btn-success" id="submit-button"><span class="icon icon-edit"></span>  提交</button></div>
        
         <div class="col-md-3"> <button class="btn btn-danger" data-dismiss="modal"><i class="icon icon-reply"></i>  返回</button>
        </div>

        </form>
         </div>
         <!-- 表单end -->
</block>

